package com.mycompany.dtjzff;

import android.widget.Toast;
import android.content.Context;

public class ff {
    
	Context mcontext;
	
	public ff(Context context){
		this.mcontext=context;
	}
	
	public void tw(String str1){
		tw(str1,"0");
	}

	public void tw(String str1,String str2){
		int int1 =Toast.LENGTH_SHORT;
		if(Integer.valueOf(str2)==1)
			int1=Toast.LENGTH_LONG;
		Toast.makeText(mcontext,str1,int1).show();
	}
	
	
    
    
}
